package me.helllp.bootman.core.factory;

import java.util.Map;

/**
 * 用于生产vo的代码
 * 
 * @author Administrator
 *
 */
public class VoFactory extends BeanFactory{

	private static final long serialVersionUID = -1527585037703087431L;

	public VoFactory(String identify,String basePackage){
		super(identify,basePackage);
	}
	
	@Override
	public String getTemplateFile() {
		return "auto/vo.ftl";
	}
	
	@Override
	protected Map<String, Object> makeParams() {
		Map<String, Object> map =  super.makeParams();
		
		map.put("fileName", this.getFileName());
		map.put("identify",this.getIdentify());
		map.put("memo",this.getMemo());
		map.put("nodeList",this.getNodeList());
		map.put("packageName",this.getPackageName());
		map.put("templateFile",this.getTemplateFile());
		
		return map;
	}
}
